//
//  XSQLRTextField.m
//  BuDeJie
//
//  Created by Sem on 2018/6/29.
//  Copyright © 2018年 SEM. All rights reserved.
//

#import "XSQLRTextField.h"
#import "UITextField+XSQPlaceHolder.h"
@implementation XSQLRTextField
- (BOOL)resignFirstResponder{
    self.placeHolderColor=[UIColor lightGrayColor];
    return [super resignFirstResponder];
}
- (BOOL)becomeFirstResponder{
    self.placeHolderColor=[UIColor whiteColor];
    return [super becomeFirstResponder];
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
- (void)awakeFromNib{
    [super awakeFromNib];
    self.placeHolderColor=[UIColor lightGrayColor];
}
@end
